package com.yuanfengerp.IncomeItem.service;

import com.yuanfengerp.IncomeItem.entity.IncomeItemInfo;
import com.yuanfengerp.publicUtil.Result;
//import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface IncomeItemInfoService {
    Result<String> deleteByPrimaryKey(String income_ID);
    Result<String> insertIncomeItemInfo(IncomeItemInfo incomeItemInfo);
    Result<String> updateIncomeItemInfo(IncomeItemInfo incomeItemInfo);
    Result<List<IncomeItemInfo>> selectAllIncomeItemInfo(@Param("pageSize")Integer pageSize, @Param("pageNum")Integer pageNum);
    Result<List<IncomeItemInfo>> selectIncomeItemInfo(Map<String, Object> params);
}
